#ifndef REGISTRATIONPAGE_H
#define REGISTRATIONPAGE_H

#include <QWidget>
#include <QListWidget>
#include <QPushButton>

class RegistrationPage : public QWidget {
    Q_OBJECT

public:
    explicit RegistrationPage(QWidget *parent = nullptr);

private slots:
    void cancelAppointment(); // 取消挂号的槽函数

private:
    QListWidget *appointmentsList; // 用于显示正在挂的号的列表
    QPushButton *cancelButton;      // 取消挂号按钮
};

#endif // REGISTRATIONPAGE_H
